package com.example.bootdemo.service.impl;

import com.example.bootdemo.dao.UserDao;
 import com.example.bootdemo.service.UserService;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: gaochao
 * @time: 2020/11/21 12:14
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private SqlSessionTemplate sqlSessionTemplate;

    @Autowired
    private UserDao userDao;


    @Override
    public Map<String,String> selectUserByName(String userNm) {
        return  userDao.selectUserByName(userNm);
    }
}
